package com.wmwu.mybatistest;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author wmwu
 */
@SpringBootApplication
@MapperScan(basePackages = "com.wmwu.mybatistest.mapper")
public class MybatistestApplication {
    private static Logger log = LogManager.getLogger(MybatistestApplication.class.getName());
    public static void main(String[] args) {
        log.error("============================================================");
        SpringApplication.run(MybatistestApplication.class, args);
    }
}
